package com.song.algorithm.blockchain;

/**
 * @desc:
 * @author: WUSONG
 * @date: 2018/10/24 0024上午 10:05
 */
public class TestBlock {

    public static void main(String[] args) {
        Block first = new Block("Hi i am the first block", "0");
        System.out.println("Hash for block 1 : " + first.getHash());
        Block second = new Block("Hi i am the second block", first.getHash());
        System.out.println("Hash for block 2 : " + second.getHash());
        Block third = new Block("Hi i am the third block", second.getHash());
        System.out.println("Hash for block 3 : " + third.getHash());
    }

}
